Skip to main content

GQC Windows Setup

Windows Installation and User Configuration

Step 1: When booting up laptop, you will be asked to select your region. Select United States

Step 2: You will be asked to choose keyboard settings based on region. Select US.

Step 3: You will be asked to select a network to connect to. Do not connect to any network. Instead, press Shift + F10 to launch command prompt. Then, tyoe in the following command:

ncpa.cpl

Then, the Network Connections tab pops up. You will see an option for WiFi. Click on WiFi and then hit the disable option.

Close the Network Connections tab.

Step 4: On the command prompt, type

oobe\bypassnro

Your laptop will restart.

Step 5: Repeat Steps 1 and 2 again. Then at Step 3, when it asks yout to connect to a Network, there should be another option called "I don't have internet." Click that option and continue.

Step 6: Continue with the rest of the set up and create your local account.

Step 7: After setting up your local account on Windows, you will not be connected to internet. To connect to the internet, click on the world icon in the bottom right taskbar. Then click on the gear icon to open up all settings.

Step 8: Click on Network and Internet Settings and then Advanced Network Settings.

Step 9: Enable the WiFi Network adapter, and then connect to a network.

Microsoft Account Setup

Setup Microsoft Work Account

Windows 11 Changes (Optional)

reg.exe add "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /f /ve
  • Permanently Unpin MSI Center - Open file "%USERPROFILE%\AppData\Local\Microsoft\Windows\Shell\LayoutModification.xml" and remove all lines like:
<taskbar:UWA AppUserModelID="9426MICRO-STARINTERNATION.MSICenter_kzh8wxbdkxb8p!App" />
  • Left Align taskbar by right-clicking on the taskbar, selecting Taskbar Settings, expanding Taskbar behaviors, and changing the alignment dropdown.

Software List

The ones in bold are critical to have.

Required

  1. Office 365 64 Bit using Microsoft Work Account
  2. Add Chrome as a Default Browser
  3. IDE's and Editors
    1. VS 2022 (Enterprise)

Packages and workloads to be installed while using Visual Studio 2022

  1. Package to include in different workloads
  1. VS Code Extensions:(version 1.65)
    1. Jupyter (Microsoft) – Jupyter notebook support.
    2. markdownlint (David Anson) – Markdown linting and style checking. Not strictly necessary for Python development, but useful for Markdown documentation.
    3. Python (Microsoft) – Linting, Debugging (multi-threaded, remote), Intellisense, Jupyter Notebooks, code formatting, refactoring, unit tests, and more.
    4. Python Docstring Generator (Nils Werner) – Automatically generates detailed docstrings for python functions.
    5. Python Indent (Kevin Rose) – Correct python indentation.
    6. Tabnine Autocomplete AI (TabNine) - JavaScript, Python, Java, Typescript & all other languages - AI Code completion plugin.
    7. Code Spell Checker (Street Side Software) – Spell checker for VS Code. This was suggested as a replacement for Microsoft's deprecated plugin: Link
    8. VSCode Map Preview - Visual Studio Marketplace: Link
    9. Markdown All in One - Link
  2. Notepad++
  3. Databases
    1. PostgreSQL 12 x86-64
    2. PGAdmin (Latest included with PSQL install)
    3. SQLite DB Browser 64-bit - Standard install for 64-bit Windows
  4. Python 3.10 (all users at C:\Python310)
    1. virtualenvwrapper-win
  5. NodeJS 18
  6. HEC RAS 6
  7. Git for Windows
  8. PuTTY - 64-bit x86 MSI
  9. Windows Terminal
  10. WSL 2 (Ubuntu) [Installation] (https://learn.microsoft.com/en-us/windows/wsl/install)
    1. After using WSL2 for a time for development, its size will increase.
    2. WSL2 by default is installed in this directory
    3. C:\Users\<username>\AppData\Local\Packages\CanonicalGroupLimited.UbuntuonWindows\_79rhkp1fndgsc\LocalState
    4. Check the size of the VHDD over here
  11. QGIS via OSGEO4W
    1. Install the LAStools plugin
    2. Install the Lat lon tools plugin Link
  12. Outlook through browser (DO NOT use the outlook desktop app).
  13. WinSCP
  14. TeraTerm

Useful but not Required

  1. PyCharm
  2. Astrogrep
  3. Postman

Sleep Settings

  • When plugged in, turn off my screen after 30 minutes
  • When plugged in, put my device to sleep after 2 hours

Local File System Organization

  1. All software should be installed in the default location. For "all users", this is under C:\Program Files/(x86). For "just you", this is under C:\Users\user_name...
  2. Python instances are installed at the root C:\ directory, i.e. C:\Python39 , C:\Python310 , etc.
  3. Employee files such as documentation, test files, etc. should be stored in a directory such as **C:\name** , i.e.:
    1. C:\name\Admin
    2. C:\name\dev
    3. C:\name\OHRD
  4. The current standard for adding information to projects is to create a projects folder and put the documentation for that specific project under the name of the task. It is generally the name in the same way that Dropbox is named for instance:
    1. C:\Project\APTM\
    2. C:\Project\APTM\SWMOPT1
    3. C:\Project\APTM\SWMOPT2
    4. C:\Project\APTM\SWMOPT2 Phase3
  5. All git repositories should reside under C:\git with subdirectories for projects:
    1. C:\git\public
    2. C:\git\projects
      1. C:\git\projects\epa
    3. C:\git\gqc

More Documents

  1. CSharp Based Development at GQC.docx
  2. EF Core Model First v2.docx
  3. NuGet Packages used by GQC v2.xlsx
  4. GQC Spatial and Timeseries Software Installations_v3.docx
  5. Python Based Development at GQC_v3.docx
  6. Git Cheat Sheet_v3.docx
  7. Overview of Generating API Documentation